package io.jee.caisan.weixin.repository;

import java.util.List;

import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import io.jee.alaska.data.jpa.hibernate.AlaskaRepository;
import io.jee.caisan.weixin.domain.SysActivity;

public interface SysActivityRepository extends AlaskaRepository<SysActivity, Integer> {

	@Modifying
	@Query("delete from SysActivity where id in(?1)")
	void deleteBatch(List<Integer> ids);
}
